// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_PROD_PLAN_APPLICATION_ITEM
// * CreateDate    : 2011-8-11 20:46:48
// * Creater       : CodeSmith
// * LastChangeDate: 2011-8-11 20:46:48
// * LastChanger   : 2011-8-11 20:46:48
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class ProdPlanApplicationItemTable : TableInfo
    {
		public const string C_TableName = "PROD_PLAN_APPLICATION_ITEM";
		
		public const string C_APPLICATION_ITEM_ID = "APPLICATION_ITEM_ID";
		public const string C_APPLICATION_ID = "APPLICATION_ID";
		public const string C_PRODUCT_ID = "PRODUCT_ID";
		public const string C_LOCATION_CODE = "LOCATION_CODE";
		public const string C_QTY = "QTY";
		public const string C_PRICE = "PRICE";
		public const string C_PRODUCT_TYPE = "PRODUCT_TYPE";
		public const string C_BLUEPRINT_START_DATE = "BLUEPRINT_START_DATE";
		public const string C_BLUEPRINT_END_DATE = "BLUEPRINT_END_DATE";
		public const string C_PACKAGE_TYPE = "PACKAGE_TYPE";
		public const string C_CHECKING_TYPE = "CHECKING_TYPE";
		public const string C_PRINT_BRAND = "PRINT_BRAND";
		public const string C_IS_FINISHED = "IS_FINISHED";
		public const string C_DELIVERY_APPLICATION = "DELIVERY_APPLICATION";
		public const string C_DELIVERY_QTY = "DELIVERY_QTY";
		public const string C_STATUS = "STATUS";
		public const string C_REMARK = "REMARK";
		
		public ProdPlanApplicationItemTable()
        {
            _tableName = "PROD_PLAN_APPLICATION_ITEM";
        }
		
		protected static ProdPlanApplicationItemTable _current;
        public static ProdPlanApplicationItemTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new ProdPlanApplicationItemTable();

            _current.Add(C_APPLICATION_ITEM_ID, new ColumnInfo(C_APPLICATION_ITEM_ID,"ApplicationItemId", true, typeof(string)));
            _current.Add(C_APPLICATION_ID, new ColumnInfo(C_APPLICATION_ID,"ApplicationId", false, typeof(string)));
            _current.Add(C_PRODUCT_ID, new ColumnInfo(C_PRODUCT_ID,"ProductId", false, typeof(string)));
            _current.Add(C_LOCATION_CODE, new ColumnInfo(C_LOCATION_CODE,"LocationCode", false, typeof(string)));
            _current.Add(C_QTY, new ColumnInfo(C_QTY,"Qty", false, typeof(decimal)));
            _current.Add(C_PRICE, new ColumnInfo(C_PRICE,"Price", false, typeof(decimal)));
            _current.Add(C_PRODUCT_TYPE, new ColumnInfo(C_PRODUCT_TYPE,"ProductType", false, typeof(string)));
            _current.Add(C_BLUEPRINT_START_DATE, new ColumnInfo(C_BLUEPRINT_START_DATE,"BlueprintStartDate", false, typeof(DateTime)));
            _current.Add(C_BLUEPRINT_END_DATE, new ColumnInfo(C_BLUEPRINT_END_DATE,"BlueprintEndDate", false, typeof(DateTime)));
            _current.Add(C_PACKAGE_TYPE, new ColumnInfo(C_PACKAGE_TYPE,"PackageType", false, typeof(string)));
            _current.Add(C_CHECKING_TYPE, new ColumnInfo(C_CHECKING_TYPE,"CheckingType", false, typeof(string)));
            _current.Add(C_PRINT_BRAND, new ColumnInfo(C_PRINT_BRAND,"PrintBrand", false, typeof(int)));
            _current.Add(C_IS_FINISHED, new ColumnInfo(C_IS_FINISHED,"IsFinished", false, typeof(int)));
            _current.Add(C_DELIVERY_APPLICATION, new ColumnInfo(C_DELIVERY_APPLICATION,"DeliveryApplication", false, typeof(string)));
            _current.Add(C_DELIVERY_QTY, new ColumnInfo(C_DELIVERY_QTY,"DeliveryQty", false, typeof(decimal)));
            _current.Add(C_STATUS, new ColumnInfo(C_STATUS,"Status", false, typeof(string)));
            _current.Add(C_REMARK, new ColumnInfo(C_REMARK,"Remark", false, typeof(string)));
			
		}
		
		public ColumnInfo APPLICATION_ITEM_ID
        {
            get { return this[C_APPLICATION_ITEM_ID]; }
        }
		
		public ColumnInfo APPLICATION_ID
        {
            get { return this[C_APPLICATION_ID]; }
        }
		
		public ColumnInfo PRODUCT_ID
        {
            get { return this[C_PRODUCT_ID]; }
        }
		
		public ColumnInfo LOCATION_CODE
        {
            get { return this[C_LOCATION_CODE]; }
        }
		
		public ColumnInfo QTY
        {
            get { return this[C_QTY]; }
        }
		
		public ColumnInfo PRICE
        {
            get { return this[C_PRICE]; }
        }
		
		public ColumnInfo PRODUCT_TYPE
        {
            get { return this[C_PRODUCT_TYPE]; }
        }
		
		public ColumnInfo BLUEPRINT_START_DATE
        {
            get { return this[C_BLUEPRINT_START_DATE]; }
        }
		
		public ColumnInfo BLUEPRINT_END_DATE
        {
            get { return this[C_BLUEPRINT_END_DATE]; }
        }
		
		public ColumnInfo PACKAGE_TYPE
        {
            get { return this[C_PACKAGE_TYPE]; }
        }
		
		public ColumnInfo CHECKING_TYPE
        {
            get { return this[C_CHECKING_TYPE]; }
        }
		
		public ColumnInfo PRINT_BRAND
        {
            get { return this[C_PRINT_BRAND]; }
        }
		
		public ColumnInfo IS_FINISHED
        {
            get { return this[C_IS_FINISHED]; }
        }
		
		public ColumnInfo DELIVERY_APPLICATION
        {
            get { return this[C_DELIVERY_APPLICATION]; }
        }
		
		public ColumnInfo DELIVERY_QTY
        {
            get { return this[C_DELIVERY_QTY]; }
        }
		
		public ColumnInfo STATUS
        {
            get { return this[C_STATUS]; }
        }
		
		public ColumnInfo REMARK
        {
            get { return this[C_REMARK]; }
        }
		
		
		
	}
}

